import { getAction, postAction } from '@/api/manage'

export function getSbgk() {
  return postAction('/topic/data/listAllData/dy_dp_shbz_sbgk_gk', {})
}
export function getYlbzgk(countType) {
  return getAction(`/topic/data/listAllBySql/dy_dp_shbz_yanglao_gk?count_type=${countType}`)
}
export function getYiliaobzgk() {
  return postAction(`/topic/data/listAllData/dy_dp_shbz_yiliao_gk`, {})
}
export function getGssybzgk(countType) {
  return getAction(`/topic/data/listAllBySql/dy_dp_shbz_gssybz_gk?count_type=${countType}`)
}
export function getGssylnqk(countType) {
  return getAction(`/topic/data/listAllBySql/dy_dp_shbz_gssybz_bzqk_year?count_type=${countType}`)
}
export function getShjzgk() {
  return postAction(`/topic/data/listAllData/dy_dp_shbz_shjz_gk`, {})
}
export function getShjzryzjgk(dataType, countType) {
  return getAction(`/topic/data/listAllBySql/dy_dp_shbz_shjz_ryzjgk?data_type=${dataType}&count_type=${countType}`)
}
export function getShflgk() {
  return postAction(`/topic/data/listAllData/dy_dp_shbz_shfl_gk`, {})
}
export function getShfllngk(countType) {
  return getAction(`/topic/data/listAllBySql/dy_dp_shbz_shfl_glrqffje_year?count_type=${countType}`)
}
